package com.xzr.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author：徐志荣
 * @Date：2023/6/17 上午 10:10
 */

//返回一个静态页面
@Controller
@RequestMapping("/resp")
public class ResponseController {
    @RequestMapping("/hi")
    public String sayHi(){
        return "/hi.html";
    }
}
